home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000824-20010305 / 000260_news@columbia.edu _Wed Feb 7 09:45:22 2001.msg < prev    next >
Internet Message Format  |  2020-01-01  |  8KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA02149
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Wed, 7 Feb 2001 09:45:21 -0500 (EST)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA19404
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 7 Feb 2001 09:45:13 -0500 (EST)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA00543
  10.     for kermit.misc@watsun.cc.columbia.edu; Wed, 7 Feb 2001 09:38:20 -0500 (EST)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: gneiss@mailroom.com (Bob)
  13. Subject: Re: kermit not closing properly?
  14. Date: Wed, 07 Feb 2001 14:36:28 -0000
  15. Organization: Posted via Supernews, http://www.supernews.com
  16. Message-ID: <90416A33Ebdorengneiss@207.126.101.100>
  17. To: kermit.misc@columbia.edu
  18.  
  19. Frank, sorry for ambiguity, here is additional info:
  20.  
  21. 1. using version 7.1.199 Alpha.02 on VMS, 7.0.196, 1 Jan 2000 on Linux
  22. 2. I have your old book, new one is on the way, have read the online update, 
  23. tutorial, etc.  There's a lot to know about Kermit!!  
  24. 3. I intend to add error checking, still testing, at this stage I know 
  25. connections are made, the files transfer, and "out" commands are executed by 
  26. reading the screen output.  
  27. 4. here is the screen output after my file is transferred from Linux to VMS, 
  28. just before Kermit exits and my VMS job finishes (this is what I meant by "read 
  29. every line before exiting").  I would guess the problem is indicated by the 
  30. line "a network connection might still be open":
  31.  
  32. <snip--end of file transfer display>
  33.          Error Count: 0
  34.           Last Error:
  35.         Last Message: SUCCESS.  Files: 1, Bytes: 40860290, 374038 CPS
  36.  
  37. C-Kermit 7.1.199 Alpha.02, 4 Jan 2001, for OpenVMS Alpha
  38.  Copyright (C) 1985, 2001,
  39.   Trustees of Columbia University in the City of New York.
  40. Type ? or HELP for help.
  41. RAID0:[DORENFELD.KERMIT] C-Kermit>#-- Kermit commands to send files from VMS to 
  42. Linux,
  43. RAID0:[DORENFELD.KERMIT] C-Kermit>#-- decrypt them with PGP, send them back to 
  44. VMS
  45. RAID0:[DORENFELD.KERMIT] C-Kermit>#
  46. RAID0:[DORENFELD.KERMIT] C-Kermit>log session
  47. RAID0:[DORENFELD.KERMIT] C-Kermit>set host porky #connect to porky
  48.  A network connection to porky.bestcomputer.com:23 might still be active.
  49. OK to close? in ?No keywords match - in
  50. OK to close? 5 ?No keywords match - 5
  51. OK to close? Password:?No keywords match - "Password:"
  52. OK to close? #login
  53.  Please respond Yes or No
  54. OK to close? out ?No keywords match - out
  55. OK to close? \13
  56. ?No keywords match - \13
  57. OK to close? in ?No keywords match - in
  58. OK to close? 5 ?No keywords match - 5
  59. OK to close? Login: ?No keywords match - Login:
  60. OK to close?
  61.  Please respond Yes or No
  62. OK to close? out ?No keywords match - out
  63. OK to close? aagaard\13
  64. ?No keywords match - aagaard\13
  65. OK to close? in ?No keywords match - in
  66. OK to close? 5 ?No keywords match - 5
  67. OK to close? Password: ?No keywords match - Password:
  68. OK to close?
  69.  Please respond Yes or No
  70. OK to close? out ?No keywords match - out
  71. OK to close? winter99\13
  72. ?No keywords match - asfsadfds\13
  73. OK to close? ;
  74.  Please respond Yes or No
  75. OK to close? in ?No keywords match - in
  76. OK to close? 5 ?No keywords match - 5
  77. OK to close? [aagaard@porky ?No keywords match - [aagaard@porky
  78. OK to close? aagaard]$
  79. ?No keywords match - aagaard]$
  80. OK to close? out ?No keywords match - out
  81. OK to close? cd ?No keywords match - cd
  82. OK to close? test\13?No keywords match - "test\13"
  83. OK to close? #change to working dir
  84.  Please respond Yes or No
  85. OK to close? in ?No keywords match - in
  86. OK to close? 3 ?No keywords match - 3
  87. OK to close? [aagaard@porky ?No keywords match - [aagaard@porky
  88. OK to close? test]$
  89. ?No keywords match - test]$
  90. OK to close? #out rm nopstoporky\13    #delete old pgp output
  91.  Please respond Yes or No
  92. OK to close? out ?No keywords match - out
  93. OK to close? rm ?No keywords match - rm
  94. OK to close? *\13
  95. ?No keywords match - *\13
  96. OK to close? in ?No keywords match - in
  97. OK to close? 3 ?No keywords match - 3
  98. OK to close? [aagaard@porky ?No keywords match - [aagaard@porky
  99. OK to close? test]$
  100. ?No keywords match - test]$
  101. OK to close? send ?No keywords match - send
  102. OK to close? /binary ?No keywords match - /binary
  103. OK to close? nopstoporky.pgp
  104. ?No keywords match - nopstoporky.pgp
  105. OK to close? in ?No keywords match - in
  106. OK to close? 30 ?No keywords match - 30
  107. OK to close? [aagaard@porky ?No keywords match - [aagaard@porky
  108. OK to close? test]$
  109. ?No keywords match - test]$
  110. OK to close? out ?No keywords match - out
  111. OK to close? pgp ?No keywords match - pgp
  112. OK to close? -z ?No keywords match - -z
  113. OK to close? "faffafaafd" ?No keywords match - "asdfasf"
  114. OK to close? nopstoporky.pgp\13
  115. ?No keywords match - nopstoporky.pgp\13
  116. OK to close? ;
  117.  Please respond Yes or No
  118. OK to close? in ?No keywords match - in
  119. OK to close? 30 ?No keywords match - 30
  120. OK to close? [aagaard@porky ?No keywords match - [aagaard@porky
  121. OK to close? test]$?No keywords match - "test]$"
  122. OK to close? #wait 30 sec for pgp to finish
  123.  Please respond Yes or No
  124. OK to close? set ?No keywords match - set
  125. OK to close? protocol ?No keywords match - protocol
  126. OK to close? kermit ?No keywords match - kermit
  127. OK to close? {kermit -O}
  128. ?No keywords match - {kermit -O}
  129. OK to close? get ?No keywords match - get
  130. OK to close? /text ?No keywords match - /text
  131. OK to close? nopstoporky
  132. ?No keywords match - nopstoporky
  133. OK to close? out ?No keywords match - out
  134. OK to close? exit\13
  135. ?No keywords match - exit\13
  136. RAID0:[DORENFELD.KERMIT] C-Kermit>
  137. Closing porky.bestcomputer.com:23...OK
  138.  
  139. =========================================================
  140.  
  141.  
  142. fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote in
  143. <95p2s3$9v0$1@newsmaster.cc.columbia.edu>: 
  144.  
  145. >In article <904061545bdorengneiss@207.126.101.100>,
  146. >Bob <gneiss@mailroom.com> wrote:
  147. >
  148. >: Using the lastest release on both VMS and Linux...
  149. >:
  150. >Please be specific when you say "latest".
  151. >
  152. >: ... the script below logs in to
  153. >: Linux from VMS, transfers a file, encrypts it, then gets a file back. 
  154. >: All appears normal up to the last line, "out exit\13", at which point
  155. >: Kermit appears to try to read _every_ line of the command file
  156. >: (according to my screen display) instead of the "exit"
  157. >: command...eventually exit is recognized and kermit seems to quit
  158. >: normally.  Up to now I had a session.log to read, but now that is
  159. >: empty at job completion. 
  160. >: 
  161. >I don't understand what you mean by "read _every_ line of the command
  162. >file". Isn't that what you want it to do?  I don't see any conditional
  163. >stopping or branching in the command file, so Kermit normally would read
  164. >and execute every line of it.
  165. >
  166. >: Thanks for any help,  Bob
  167. >: 
  168. >: log session
  169. >:
  170. >I'll have to take your word that Kermit has already created a session,
  171. >but you didn't show that part.  But what if the connection failed?
  172. >
  173. >: set host porky
  174. >: in 5 Password:
  175. >: out \13
  176. >: in 5 Login: 
  177. >: out aagaard\13
  178. >: in 5 Password: 
  179. >: out <password>\13
  180. >: in 5 [aagaard@porky aagaard]$
  181. >: out cd test\13
  182. >: in 3 [aagaard@porky test]$
  183. >: out rm *\13
  184. >: in 3 [aagaard@porky test]$
  185. >:
  186. >Hint: Check the INPUT commands for success and failure.  If an INPUT
  187. >fails, you don't want the script to continue as if it had succeeded,
  188. >right? Especially when "rm" commands are involved?
  189. >
  190. >: send /binary nopstoporky.pgp
  191. >: 
  192. >You should test the SEND for success and failure too.  What if the file
  193. >was not sent successfully?
  194. >
  195. >: in 30 [aagaard@porky test]$
  196. >: out pgp -z "secret passphrase" nopstoporky.pgp\13
  197. >: ;
  198. >: in 30 [aagaard@porky test]$
  199. >: set protocol kermit {kermit -O}     #start kermit server for "get"
  200. >: only get /text nopstoporky     
  201. >: out exit\13
  202. >
  203. >Try the hints above, and also read the tutorial here:
  204. >
  205. >  http://www.columbia.edu/kermit/ckscripts.html#tut
  206. >
  207. >and maybe your script will stop misbehaving.
  208. >
  209. >- Frank
  210. >
  211.